import { ref } from '/src/front/vue.js'

export default {
    template: `
    <template>
        <h1>Hello Vue 3!</h1>
        <button @click="inc">Clicked {{ count }} times.</button>
    </template>
    `,
    setup() {
        const count = ref(0)
        const inc = () => {
            count.value++
        }
        return {
            count,
            inc
        }
    }
}